﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Zatify.Domain.Data;
using Zatify.Domain.Abstract;
using Zatify.WebUI.Models;

namespace Zatify.WebUI.Admin.Models
{
    public static class BusinessSortParameter
    {
        public const string BusinessNameAsc = "Business Name";
        public const string BusinessNameDesc = "Business Name desc";

        public const string PromoStatusAsc = "Promo Status";
        public const string PromoStatusDesc = "Promo Status desc";

        public const string UserIDAsc = "UserID";
        public const string UserIDDesc = "UserID desc";

        public const string EmailAsc = "Email";
        public const string EmailDesc = "Email desc";

        public const string WebAsc = "Web";
        public const string WebDesc = "Web desc";

        public const string BusinessPhoneAsc = "Business Phone";
        public const string BusinessPhoneDesc = "Business Phone desc";

        public const string CellPhoneAsc = "Cell Phone";
        public const string CellPhoneDesc = "Cell Phone desc";

        public const string StatusAsc = "Status";
        public const string StatusDesc = "Status desc";

        public const string FaxAsc = "Fax";
        public const string FaxDesc = "Fax desc";

        public const string TollFreeAsc = "Toll Free";
        public const string TollFreeDesc = "Toll Free desc";

        public const string RegDateAsc = "RegDate";
        public const string RegDateDesc = "RegDate desc";
    }

    public class BusinessesListViewModel
    {
        public UserRole CurrentUserRole { get; set; }
        public Int32 SelectedBusinessID { get; set; }
        public List<Business> Businesses { get; set; }
        public PagingInfo PagingInfo { get; set; }

        public String SortOrder { get; set; }
        public String BusinessNameSortParam { get; set; }
        public String PromoStatusSortParam { get; set; }
        public String UserIDSortParam { get; set; }
        public String EmailSortParam { get; set; }
        public String WebSortParam { get; set; }
        public String BusinessPhoneSortParam { get; set; }
        public String CellPhoneSortParam { get; set; }
        public String StatusSortParam { get; set; }
        public String FaxSortParam { get; set; }
        public String TollFreeSortParam { get; set; }
        public String RegDateSortParam { get; set; }
    }
}